'''
Created on 01/05/2010

@author: Mar
'''
import time
class IOInstructionKeyBoard:

    def __init__(self, aTime, aWord):
        self.time = aTime
        self.word = aWord
        self.id = "kb"
    
    def getType(self):
        return self.id
    
    def setTime(self, aTime):
        self.time = aTime
        
    def getTime(self):
        return self.time
    
    def setWord(self, aWord):
        self.word = aWord
        
    def getWord (self):
        return self.word
    
    
    def isPrinter(self):
        return False
    
    def isCPU(self):
        return False
    
    
    def isScreen(self):
        return False
    
    def isKeyBoard(self):
        return True
    
    def execute(self):
        print("KeyBoard instruction")
        time.sleep(1)